package com.yuandengta.yomall.product.vo;

import com.yuandengta.yomall.product.entity.SkuImagesEntity;
import com.yuandengta.yomall.product.entity.SkuInfoEntity;
import com.yuandengta.yomall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * sku详情页 {@link SkuItemVO}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
@Data
public class SkuItemVO {
    /**
     * sku基本信息
     */
    private SkuInfoEntity skuInfo;
    /**
     * 是否有货
     */
    private Boolean hasStock;
    /**
     * sku图片信息
     */
    private List<SkuImagesEntity> images;
    /**
     * spu销售属性组合
     */
    private List<SkuSaleAttrVO> saleAttrs;
    /**
     * spu介绍
     */
    private SpuInfoDescEntity spuDesc;
    /**
     * spu规格参数
     */
    private List<SpuAttrGroupVO> groupAttrs;
    /**
     * 当前商品秒杀优惠信息
     */
    private SeckillSkuVO seckillInfo;
}
